package edu.sctu.practice.class02.shuqiqi;

/**
 * Created by shuqi on 2015/9/18.
 */
public class OtherDog extends Dog {
    public OtherDog(int age, String name, String color) {
    }

    public void confirm2() {
        if (number == 100011) {
            System.out.println(" " + name + " " + color + "" + age);
        } else {
            System.out.println(" " + name + " " + color + "" +
                    " " + number + " " + sex + " " + age);

        }
    }

}
